quadratic mechanism